package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.TravelForm;

import java.util.List;

public interface ITravelFormService {

    //新增旅行表的方法
    void save(TravelForm travelForm);
    //通过用户id 和travelId查询该用户是否添加了该地区
    void select(TravelForm travelForm);

    void delete(TravelForm travelForm);

    List<TravelForm> listAll(Long userId);
}
